package com.sas.repository;

import java.util.List;

import com.sas.domain.Article;
import com.sas.domain.ArticleField;
import com.sas.domain.Vendor;

public interface VendorRepository extends GenericRepository<Vendor> {

	public List<Vendor> findByArticle(Article article, String property, boolean ascending);

	public List<Vendor> findByArticleField(ArticleField selectedArticleField,
			String property, boolean ascending);

	public boolean exists(Vendor vendor);

}
